home *** CD-ROM | disk | FTP | other *** search
/ Delphi Magazine Collection 2001 / Delphi Magazine Collection 20001 (2001).iso / DISKS / Issue25 / compress / COMPRESS.ZIP / SELFXSML.DPR < prev    next >
Encoding:
Text File  |  1997-07-09  |  1022 b   |  31 lines

  1. program selfXsml;
  2.  
  3. { TCompress V3.0 "Tiny" self-extracting EXE example -- only comments changed from V2.5
  4.   This program uses the same approach (and doInstal unit) as
  5.   does the SELFEXTR.DPR unit. Hence, refer to the instructions
  6.   at the top of SELFEXTF.PAS for setup instructions.
  7.  
  8.   Notes:
  9.   1) Because no form is involved, this program will be
  10.      far *smaller* than SELFEXTR.EXE. The downside is that
  11.      it has no user interaction, although you could use Windows
  12.      MessageBox calls to at least display a confirmation message.
  13.   2) In order to avoid having the Borland Database Engine linked in,
  14.      be sure to build your library with the COMPONLY.DCU (renamed
  15.      in place of COMPRESS.DCU) or COMP30.DLL in the case of Delphi 3.0,
  16.      per the instructions in COMPRESS.HLP).
  17. }
  18.  
  19. {$R *.RES}
  20. {$R COMP_RES.RES}
  21.  
  22. uses doInstal;
  23.  
  24.  
  25. const PROG_NAME =   'notepad.exe';
  26.       README_NAME = 'readme.txt';
  27.  
  28. begin
  29.    DoInstall('',PROG_NAME, README_NAME); { into the CURRENT directory! }
  30. end.
  31.